package com.stn.zjx.givingtreasure.net.impl;

import com.lzy.okgo.OkGo;
import com.lzy.okgo.callback.StringCallback;
import com.stn.zjx.givingtreasure.net.CheckVersionApi;
import com.stn.zjx.givingtreasure.net.FileApi;

public class CheckVersionNetImpl {



    /**
     * @param appType 应用类型 0安卓 1 苹果
     * @param tag 标签
     * @param callback 请求回调
     */
    public static void get_version(Integer appType,
                                                 String tag, StringCallback callback){

        OkGo.<String>post(CheckVersionApi.get_version)
                .tag(tag)
                 .params("appType",appType)
                .execute(callback);

    }
}
